{% extends "tpl_admin_base.html" %}
{% block slides %}
<div id="slogancontainer" class="slides">
 	<img src="/static/images/slogan_3.png" alt="{{membertitle}}" class="left" />
 </div>
{% endblock %}
{% block nodecontent %}
<div class="content">
    <h2>当前{{membertitle}}列表：</h2>
    {% ifnotequal items None %}
    <div class="list">
    {% for member in items %}
    <div class="doctor border-bottom">
		<div class="portrait"><img src="/portrait/{{member.key}}.jpg" class="portrait border" /></div>
		<div class="profile">
			<div class="name">姓名／称呼：{{member.name}}</div>
			<div class="grade">职务：{{member.title}}</div>
			<div class="good">擅长项目：{{member.subject}}</div>
			<div class="desc">简介：{{member.profile}}</div>
		</div>
		<div class="entry-cmd">
			<a href="/admin/member?action=edit&key={{member.key}}" class="edit">编辑</a>/
			<a href="javascript:confirmDelete('/admin/member?action=delete&key={{member.key}}')">删除</a>
		</div>
	</div>
    {% endfor %}
    </div>
    {% endifnotequal %}
    <div class="buttoncontainer"><a href="/admin/member?action=new" class="button"><span>添加新{{membertitle}}</span></a></div>
</div>
{% endblock %}